package com.xxgc.vfc.auth.service.impl;

import com.xxgc.vfc.api.service.IRoleAndPermService;
import com.xxgc.vfc.auth.mapper.UsersMapper;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @Author: SJY
 * @Date: 2023/11/17 10:43:43
 * 角色和权限的业务实现
 */
@DubboService
public class RoleAndPermServiceImpl implements IRoleAndPermService {
    @Autowired
    private UsersMapper usersMapper;

    @Override
    public List<String> getPermissionList(String loginId) {
        return null;
    }

    @Override
    public List<String> getRoleList(String loginId) {
        return usersMapper.getRoleList(loginId);
    }
}
